Detectron2
This is also an updated version of my previous blog detectron2 published on October 13, 2019. I lost the previous source for this blog, but, let’s re-write it.
The autumn in both Vancouver and Seattle is gorgeous…
| Overview Seattle on Space Needle | Around Space Needle |
|---|---|
![]() |
![]() |
| Overview Seattle on Space Needle | Around Space Needle |
![]() |
![]() |
| Overview Seattle on Space Needle | Around Space Needle |
![]() |
![]() |
| Overview Seattle on Space Needle | Around Space Needle |
![]() |
![]() |
Alright, let’s rapidly test Detectron2.
Installation is detailedly summarized in INSTALL.md.
We can simply follow GETTING_STARTED.md for some simple demonstrations. Make sure you’ve downloaded the demo pictures from Detectron1 demo and save under Detectron2’s folder demo.
1 | ➜ detectron2 git:(master) python demo/demo.py --config-file configs/COCO-InstanceSegmentation/mask_rcnn_R_50_FPN_3x.yaml \ |
Let’s take a look at the result:

And of course, my pictures taken in Seattle and Vancouver:
| Overview Seattle on Space Needle | Around Space Needle |
|---|---|
![]() |
![]() |
| Overview Seattle on Space Needle | Around Space Needle |
![]() |
![]() |
| Overview Seattle on Space Needle | Around Space Needle |
![]() |
![]() |
| Overview Seattle on Space Needle | Around Space Needle |
![]() |
![]() |
Tensorflow 2.X
This is actally an updated version of my previous blog Tensorflow 2.0 published on October 12, 2019. What’s unfortunate is: I lost the source of that previous blog. What’s fortunate is: I have my Tensorflow updated from 2.0 to 2.1. Anyway, let’s begin:
- Previous blog: Flying back to China soon. Before leaving, here comes a simple blog testing Tensorflow 2.0. In this blog, I strictly follow Amita Kapoor and Ajit Jaokar’s free book Getting Started with TensorFlow 2.0.
1. Check GPU
1 | ➜ ~ python |
Then, for simplicity, let’s try it out directly:















